productRequestError
Type
message
Summary
Sent by the store when the request for specific product details is unsuccessful.
Syntax
productRequestError <pProductID>, <pError>
Description
Use the productRequestError message to handle unsuccessful request for details of a specific product.
The message productRequestError is sent in response to the mobileStoreRequestProductDetails command, when the request is not successful.
Parameters
Name | Type | Description |
---|---|---|
pProductID | The identidier of the product for which the request for details was made. | |
pError | string | A string that describes the error. |
Examples
on productRequestError pProduct, pError
put "Error:" && pError && "when requesting details for " && pProduct
end productRequestError
Related
command: mobileStoreRestorePurchases, mobileStoreDisablePurchaseUpdates, mobileStoreEnablePurchaseUpdates, mobileStoreRequestProductDetails, mobileStoreMakePurchase, mobileStoreSetProductType, mobileStoreConsumePurchase, mobileStoreConfirmPurchase, mobileStoreVerifyPurchase
function: mobileStoreProductProperty, mobileStorePurchasedProducts, mobileStorePurchaseError, mobileStoreCanMakePurchase
message: purchaseStateUpdate, productDetailsReceived
Compatibility and Support
Introduced
LiveCode 6.7
OS
ios
android
Platforms
mobile